<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="Sms_Config, App_Web_odyrwiur" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <script type="text/javascript">

       
   
</script>
<style>
.card [class*=card-header-]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
    border-radius: 3px;
    margin-top: -20px;
    padding: 7px;
    padding-left: 10px;
}
.card-body label
{
    font-weight:600 !important;
    font-size:14px !important;
}
.card-body span
{
    font-weight:600 !important;
    font-size:14px !important;
}
#MainContent_lblCheckforActiveSmsApi
{
    position: relative;
    top: -2px;
    left: 3px;
}
#MainContent_lblMobile
{
    position: relative;
    top: 4px;
}
</style>

 <%--<asp:Label ID="lblmsg" runat="server" Font-Bold="True" Font-Size="13pt" 
        ForeColor="#0099CC" Text="Sms Api Configuration"></asp:Label>--%>
       <div class="main-panel">
        <div class="content">
        <div class="container" id="smsconfig12" runat="server">
        <div class="row dash-pane2">
        <div class="col-lg-12">
         <div class="card">
                <div class="card-header card-header-warning">
                  <h4 class="card-title"><i class="fa fa-list fa-fw"></i><asp:Label ID="lblSmsApiConfiguration" runat="server" Text="Sms Api Configuration"></asp:Label></h4>
                </div>
                <div class="card-body table-responsive">
                <div class="row">		 
                 <div class="col-md-8"> 

                                <b><asp:RadioButton ID="rdstopsms" runat="server" TabIndex="4"  Checked="True"  GroupName="fdd"
                                      Text="Stop SMS" />  </b>

							    <b><asp:RadioButton ID="ChkActive" runat="server" TabIndex="4" GroupName="fdd" 
                                      /><asp:Label ID="lblCheckforActiveSmsApi" runat="server" Text="Check for Active   (Sms Api)"></asp:Label>  </b>

                                        <b>
                                  <asp:RadioButton ID="rdmail" runat="server" TabIndex="4"  GroupName="fdd"
                                      Text="Check for Active   (In-Out On Email)*" />&nbsp;&nbsp;&nbsp; </b>
             <asp:RadioButton ID="Radionotification" runat="server" TabIndex="4"  GroupName="fdd"
                                      Text="Check for Active (Notification)*" /> </b>
<%--		 <b><asp:CheckBox ID="Chadmin" runat="server" 
                    TabIndex="4" Text="Send Notification to Admin" Checked="false"  /> </b>--%>
                                  <asp:CheckBox ID="CheckBox1" runat="server" Text="Send Sms on All Punch" 
                                    Visible="False" />

                                    <asp:CheckBox ID="chtemp" runat="server" Text="Send Temperature" />

&nbsp;<textarea ID="txtsmsApi" runat="server"  class="form-control"  MaxLength="5000" cols="3" 
                                    style="width: 1000px">NA</textarea>
     <br />
                               <b><asp:CheckBox ID="Chkin" runat="server" 
                    TabIndex="4" Text="In-Sms Text" Checked="True"   style="width: 1000px" /> *</b>

                       <textarea ID="txtinsms" runat="server"  class="form-control"  MaxLength="500" rows="1"  style="width: 1000px"></textarea>
                        <br />
                        <b><asp:CheckBox ID="chkout" runat="server" 
                    TabIndex="4" Text="Out-Sms Text" Checked="True"  /> *</b>
                          <asp:TextBox ID="txtoutsms" runat="server"  class="form-control"  MaxLength="500"  style="width: 1000px"></asp:TextBox>
                          <br />
                        <b><asp:CheckBox ID="chklate" runat="server" 
                    TabIndex="4" Text="Late Sms" Checked="True"  /> *</b>
                          <asp:TextBox ID="txtLate" runat="server"  class="form-control"  MaxLength="500"  style="width: 1000px"></asp:TextBox>
                          <br />
                           <b><asp:CheckBox ID="chkabsent" runat="server" 
                    TabIndex="4" Text="Absent- SMS" Checked="True"  /> *</b>
                     <asp:TextBox ID="txtabsent" runat="server"  class="form-control"  MaxLength="500"  style="width: 1000px"></asp:TextBox>
                       <b>
                       <asp:Label ID="lblMobile" runat="server" Text="Mobile=MNO& MESSAGE=MSG  ( Replace In SMS API) & for Name Use Name# for Date Use Date# for Time Use Time#  Will be Replace With  Symbol"></asp:Label>
                       
                       </b>
							  </div>
                              <br />

              

                </div>


                 <div class="card-body table-responsive">
                      <div class="row">

                        <div class="col-md-8"> 
                  <asp:Label ID="Label2" runat="server"  Text="SMTP"></asp:Label>
             
                <asp:TextBox ID="txtsmtp" runat="server" CssClass="form-control" style="width: 500px">smtp.gmail.com</asp:TextBox>
             
       
                  <asp:Label ID="Label3" runat="server" Text="Port"></asp:Label>
                  <asp:TextBox ID="txtmailport" runat="server" CssClass="form-control" style="width: 500px">587</asp:TextBox>
              
          
              <asp:Label ID="Label4" runat="server" Text="Email"></asp:Label>
              <asp:TextBox ID="txtemail" runat="server" CssClass="form-control" style="width: 500px"></asp:TextBox>
             
           
              <asp:Label ID="Label5" runat="server" Text="Password"></asp:Label>
              <asp:TextBox ID="txtemailpwd" runat="server" CssClass="form-control" style="width: 500px"></asp:TextBox>
                        
                </div>
                </div> 
                </div>

                <div class="row" style="margin-left:auto; margin-right:auto; display:table; margin-top:20px;">
                          <asp:Button ID="cmdsave" runat="server" Text="Save"  OnClick="cmdsave_Click" onclientclick="return validate()"
        type="button" class="btn btn-success " /><i class="fa fa-plus;"></i>&nbsp;&nbsp;
        <asp:Button ID="cmdcancel" runat="server" type="button" Text="Cancel" onclick="cmdcancel_Click" 
           class="btn btn-danger"
           /><i  class="fa fa-trash-o;"></i>
                </div>
                </div>
              </div>
        
        </div>
        <div class="col-lg-4">
        
       
        
        
        </div>

       
           </div>

</div>
</div>
</div>


       <br />
       <script src="js/jquery.minfd53.js"></script>
</asp:Content>

